//
//  BaseModel.h
//  MobileGuide
//
//  Created by 鞠 文杰 on 14-2-27.
//  Copyright (c) 2014年 CSICS. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DOConstants.h"



@interface DOObjects : NSObject

@property (nonatomic) BOOL autoBuildBody;

- (id)initWithURL:(NSString *)url;

- (void)saveInBackground:(DOBooleanResultBlock)block;

- (void)setFailureReasonFlag:(NSString *)flag;

+ (NSDictionary *)propertiesWithEncodedTypes;

+ (NSArray *)jsonObjToModel:(id)jsonObject;

@end
